<!--{template admin/header}-->
<script src="templates/default/js/date/WdatePicker.js" type="text/javascript"></script>
<div class="event_pbox">
  <form name="FORM" id="FORM" method="post" action="admin.php?mod=brandtype&code=addtob" enctype="multipart/form-data">
    <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
        <tr class="header">
      	  <td colspan="2">添加卷烟信息</td>
   		</tr>
        <tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">卷烟名:</td>
          <td bgcolor="#FFFFFF"><input type="text"  size="30" maxlength="50" id="tobacco_name" name="tobacco_name" value="{$val[tobacco_name]}"></td>
        </tr>
		 <tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">所属系列:</td>
          <td bgcolor="#FFFFFF"> <select name="seriesID" id="seriesID" >
          <!--{loop $brandtype_list $sel}-->
		   <!--{if $sel[id] == $val[seriesID]}-->
		  <option value="{$sel[id]}" selected="selected">{$sel[brandseri]}</option>
		  <!--{else}-->
		  <option value="{$sel[id]}" >{$sel[brandseri]}</option>
		  <!--{/if}-->
		  <!--{/loop}-->
        </select></td>
        </tr>
		 <tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">图片:</td>
          <td bgcolor="#FFFFFF"><input type="file"  size="30" maxlength="50" id="pic" name="pic" ></td>
        </tr>
        <tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">批发价:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="w_price" id="w_price" size="30" maxlength="50" value="{$val[w_price]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">零售指导价:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="r_price" id="r_price" size="30" maxlength="50" value="{$val[r_price]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">简介:</td>
          <td bgcolor="#FFFFFF">
		   <textarea name="intro" id="intro" style="width:500px; height:120px;">{$val[intro]}</textarea>
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">上市时间:</td>
          <td bgcolor="#FFFFFF">
		   <input name="markettime" id="markettime" size="30" maxlength="50" value="{$val[markettime]}" onclick="WdatePicker()"  type="text" readonly="readonly">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">焦油量:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="tar" id="tar" size="30" maxlength="50" value="{$val[tar]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">品类:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="pinlei" id="pinlei" size="30" maxlength="50" value="{$val[pinlei]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">品牌规格:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="standard" id="standard" size="30" maxlength="50" value="{$val[standard]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">盒包条形码:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="hBarcode" id="hBarcode" size="30" maxlength="50" value="{$val[hBarcode]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">条包条形码:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="tBarcode" id="tBarcode" size="30" maxlength="50" value="{$val[tBarcode]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">产品类型:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="producttype" id="producttype" size="30" maxlength="50" value="{$val[producttype]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">包装规格:</td>
          <td bgcolor="#FFFFFF">
		   <input type="text" name="package" id="package" size="30" maxlength="50" value="{$val[package]}">
		  </td>
		</tr>
		<tr>
          <td width="13%" align="center" bgcolor="#F8F8F8">更多图片:</td>
          <td bgcolor="#FFFFFF">
		  <input name="morepic" id="morepic" size="70" maxlength="1200" />
		   <input name="button" type="button" class="button" onclick="window.open('mul_upload/mul_upload.php', '图片批量上传', 'left=56,top=42,directories=no,width=430,height=300,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no', true);" value="上传图片">
		  </td>
		</tr>
       <tr>
          <td width="13%" align="center" bgcolor="#F8F8F8"></td>
          <td align="center">
	  		<input type="submit" class="button" name="groupsubmit" value="提 交" />&nbsp;
			<input name="reset" type="reset"class="button" onClick="location.href='admin.php?mod=brandtype'" value="取 消" />
            <input type="hidden" id="id" name="id" value="{$val[id]}">
          </td>
        </tr>
      </table>
    </form>

</div>